﻿using System;
using System.Collections.Generic;
namespace SilverlightHVP.ViewModel
{
   /*
   public class UnitState
   {
      
      public delegate void UnitStateChangedHandler( object sender, EventArgs e );
      public event UnitStateChangedHandler UnitStateChanged;

      private void OnUnitStateChanged()
      {
         if ( UnitStateChanged != null )
         {
            UnitStateChanged( this, new EventArgs() );
         }
      }

      internal UnitState()
      {
         ID = Guid.NewGuid();
      }
      internal Guid ID { get; private set; }

      private ObservableCollection<Item> dbItems;
      internal ObservableCollection<Item> Items
      {
         get
         {
            OnUnitStateChanged();
            return dbItems;
         }
         set { dbItems = value; }
      }

      private ObservableCollection<Topic> Topics;
      internal ObservableCollection<Topic> Topics
      {
         get
         {
            OnUnitStateChanged();
            return Topics;
         }
         set { Topics = value; }
      }

      internal ObservableCollection<Link> links;
      internal ObservableCollection<Link> Links
      {
         get
         {
            OnUnitStateChanged();
            return links;
         }
         set { links = value; }
      }


      internal ObservableCollection<long> TimesToWatchFor { get; set; }
      internal Item CurrentItem { get; set; }

   }
   */
}
